package main

import (
	"github.com/gin-gonic/gin"
)

func getResult(context *gin.Context) {
	context.JSON(00, "成功")
}
func main() {
	// Engin
	//router := gin.Default()
	router := gin.New()

	router.GET("/hello", getResult)
	// 指定地址和端口号
	router.Run("127.0.0.1:8082")
}
